'''
@Author: your name
@Date: 2020-06-09 13:26:42
@LastEditTime: 2020-06-09 13:26:42
@LastEditors: Please set LastEditors
@Description: In User Settings Edit
@FilePath: \common_web\web\db_script.py
'''
# -*- coding: utf-8 -*-


from flask_app.extensions import db
from flask_app.app import create_app

if __name__ == "__main__":
    app = create_app()
    app.app_context().push()


    with app.app_context():
        # db.drop_all()
        db.create_all()


